package com.yitao.client.dto.user;

import lombok.Data;
import java.util.Date;
import java.util.List;
import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;


/**
 *
 *  @author skipper
 *  @date 2019-03-05
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class UserCardNoDto extends BaseDto {


    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;


    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userId;


    /**
     * 身份人姓名
     */
    @ApiModelProperty("身份人姓名")
    private String realName;


    /**
     * 证件号
     */
    @ApiModelProperty("证件号")
    private String cardNo;


    /**
     * 证件文件正面路径
     */
    @ApiModelProperty("证件文件正面路径")
    private String cardImgFirst;


    /**
     * 证件文件背面路径
     */
    @ApiModelProperty("证件文件背面路径")
    private String cardImgSecond;


    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private Boolean isDelete;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("身份证信息是否失效")
    private Boolean isInvalid; // 2019.09.16

    /**
     * 订单中是否修改过身份证信息
     */
    @ApiModelProperty("订单中是否修改过身份证信息")
    private Boolean isUpdate; // 2019.09.16

    public Boolean getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(Boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

    public Boolean getIsInvalid() {return isInvalid;}

    public void setIsInvalid(Boolean isInvalid) {this.isInvalid = isInvalid;}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCardImgFirst() {
        return cardImgFirst;
    }

    public void setCardImgFirst(String cardImgFirst) {
        this.cardImgFirst = cardImgFirst;
    }

    public String getCardImgSecond() {
        return cardImgSecond;
    }

    public void setCardImgSecond(String cardImgSecond) {
        this.cardImgSecond = cardImgSecond;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


}